'use strict';

const Controller = require('../../core/common');

class CountController extends Controller {
  async integral() {
    const { ctx } = this;

    const { usersId } = ctx.request.query;

    const params = { where: { goodsId } }

    const data = await ctx.model.Users.findAll(params);

    this.success(data);
  }
}

module.exports = CountController;